all:server client
server:server.cc
	g++ $^ -o $@ -std=c++17 -lbrpc -lleveldb -lssl -lcrypto -lprotobuf -lgflags

client:client.cc
	g++ $^ -o $@ -std=c++17 -lbrpc -lleveldb -lssl -lcrypto -lprotobuf -lgflags

.PHONY:clean
clean:
	rm -rf server client